import { getUrlTemplateId } from '@/utils/minxin';
const byId = 568718546571333;
export const template1Path = {
  path: '/hapura',
  name: 'Hapura',
  redirect: `/edit/${getUrlTemplateId()}/hapura/home`,
  meta: {
    templateByid: byId,
    modelTemplateId: byId,
    id: 1,
  },
  component: () => import('@/pages/template/Hapura/index.vue'),
  children: [
    {
      path: '/home',
      name: 'HapuraHome',
      component: () => import('@/pages/template/Hapura/route/home.vue'),
      meta: {
        templateByid: byId,
        modelTemplateId: byId,
        title: '首页',
      },
    },
    {
      path: '/video',
      name: 'HapuraVideo',
      component: () => import('@/pages/template/Hapura/route/video.vue'),
      meta: {
        templateByid: byId,
        modelTemplateId: byId,
        title: '视频讲解',
      },
    },
    {
      path: '/message',
      name: 'HapuraMessage',
      component: () => import('@/pages/template/Hapura/route/message.vue'),
      meta: {
        templateByid: byId,
        modelTemplateId: byId,
        title: '留言区',
      },
    },
    {
      path: '/academic',
      name: 'HapuraAcademic',
      component: () => import('@/pages/template/Hapura/route/academic.vue'),
      meta: {
        templateByid: byId,
        modelTemplateId: byId,
        title: '学术研究',
      },
    },
    {
      path: '/academicInfo',
      name: 'HapuraAcademicInfo',
      component: () => import('@/pages/template/Hapura/route/academicInfo.vue'),
      meta: {
        templateByid: byId,
        modelTemplateId: byId,
        title: '学术研究详情',
      },
    },
    {
      path: '/unitDetail',
      name: 'HapuraUnitDetail',
      component: () => import('@/pages/template/Hapura/route/unitLevel2.vue'),
      meta: {
        templateByid: byId,
        modelTemplateId: byId,
        title: '二级详情',
      },
    },
    {
      path: '/Exhibits',
      name: 'HapuraUnitExhibits',
      component: () => import('@/pages/template/Hapura/route/Exhibits.vue'),
      meta: {
        templateByid: byId,
        modelTemplateId: byId,
        title: '展品',
      },
    },
  ],
};
export const template1LoopPath = {
  path: '/hapura',
  name: 'HapuraLoop',
  redirect: `/edit/${getUrlTemplateId()}/hapura/home`,
  meta: {
    loopType: true,
    templateByid: byId,
    modelTemplateId: byId,
    id: 1,
  },
  component: () => import('@/pages/template/Hapura/index.vue'),
  children: [
    {
      path: '/home',
      name: 'HapuraHomeLoop',
      component: () => import('@/pages/template/Hapura/route/home.vue'),
      meta: {
        loopType: true,
        templateByid: byId,
        modelTemplateId: byId,
        title: '首页',
      },
    },
    {
      path: '/video',
      name: 'HapuraVideoLoop',
      component: () => import('@/pages/template/Hapura/route/video.vue'),
      meta: {
        loopType: true,
        templateByid: byId,
        modelTemplateId: byId,
        title: '视频讲解',
      },
    },
    {
      path: '/message',
      name: 'HapuraMessageLoop',
      component: () => import('@/pages/template/Hapura/route/message.vue'),
      meta: {
        loopType: true,
        templateByid: byId,
        modelTemplateId: byId,
        title: '留言区',
      },
    },
    {
      path: '/academic',
      name: 'HapuraAcademicLoop',
      component: () => import('@/pages/template/Hapura/route/academic.vue'),
      meta: {
        loopType: true,
        templateByid: byId,
        modelTemplateId: byId,
        title: '学术研究',
      },
    },
    {
      path: '/academicInfo',
      name: 'HapuraAcademicInfoLoop',
      component: () => import('@/pages/template/Hapura/route/academicInfo.vue'),
      meta: {
        loopType: true,
        templateByid: byId,
        modelTemplateId: byId,
        title: '学术研究详情',
      },
    },
    {
      path: '/unitDetail',
      name: 'HapuraUnitDetailLoop',
      component: () => import('@/pages/template/Hapura/route/unitLevel2.vue'),
      meta: {
        loopType: true,
        templateByid: byId,
        modelTemplateId: byId,
        title: '二级详情',
      },
    },
    {
      path: '/Exhibits',
      name: 'HapuraUnitExhibitsLoop',
      component: () => import('@/pages/template/Hapura/route/Exhibits.vue'),
      meta: {
        loopType: true,
        templateByid: byId,
        modelTemplateId: byId,
        title: '展品',
      },
    },
  ],
};
export const template1WapPath = {
  path: '/wap/hapura',
  name: 'HapuraWap',
  redirect: '/wap/hapura/home',
  meta: { wap: true, id: 1 },
  component: () => import('@/pages/wap/Hapura/index.vue'),
  children: [
    {
      path: '/wap/hapura/home',
      name: 'HapuraHomeWap',
      component: () => import('@/pages/wap/Hapura/route/home.vue'),
      meta: {
        title: '首页',
        wap: true,
      },
    },
    {
      path: '/wap/hapura/video',
      name: 'HapuraVideoWap',
      component: () => import('@/pages/wap/Hapura/route/video.vue'),
      meta: {
        title: '视频讲解',
        wap: true,
      },
    },
    {
      path: '/wap/hapura/message',
      name: 'HapuraMessageWap',
      component: () => import('@/pages/wap/Hapura/route/message.vue'),
      meta: {
        title: '留言区',
        wap: true,
      },
    },
    {
      path: '/wap/hapura/academic',
      name: 'HapuraAcademicWap',
      component: () => import('@/pages/wap/Hapura/route/academic.vue'),
      meta: {
        title: '学术研究',
        wap: true,
      },
    },
    {
      path: '/wap/hapura/academicInfo',
      name: 'HapuraAcademicInfoWap',
      component: () => import('@/pages/wap/Hapura/route/academicInfo.vue'),
      meta: {
        title: '学术研究详情',
        wap: true,
      },
    },
    {
      path: '/wap/hapura/unitDetail',
      name: 'HapuraUnitDetailWap',
      component: () => import('@/pages/wap/Hapura/route/unitLevel2.vue'),
      meta: {
        title: '二级详情',
        wap: true,
      },
    },
    {
      path: '/wap/hapura/Exhibits',
      name: 'HapuraUnitExhibitsWap',
      component: () => import('@/pages/wap/Hapura/route/Exhibits.vue'),
      meta: {
        title: '展品',
        wap: true,
      },
    },
  ],
};
